]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lightbox: Change vignette brightness to 0.5
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 19 Jan 2020 17:01:57 +0000 (18:01 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Sun, 19 Jan 2020 17:01:57 +0000 (18:01 +0100)
Since the overview search results now have a dark background layer, we
can brighten the background image a bit again. As a factor we use 0.5,
since that ensures the texts in the IconGrid are still readable and the
background image is visible, too.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2133

js/ui/lightbox.js

index 5446696a8b8f98f5f139b147e659c8ae882ce84b..4f265af42bea9ec96450009e53bab8eda2066614 100644 (file)
@@ -6,7 +6,7 @@ const { Clutter, GObject, Shell, St } = imports.gi;
 const Params = imports.misc.params;
 
 var DEFAULT_FADE_FACTOR = 0.4;
-var VIGNETTE_BRIGHTNESS = 0.2;
+var VIGNETTE_BRIGHTNESS = 0.5;
 var VIGNETTE_SHARPNESS = 0.7;
 
 const VIGNETTE_DECLARATIONS = '\